package com.travel.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("comments")
public class Comment {
    private Long id;
    private Long userId;
    private Long spotId;
    private Integer type; // 1:酒店 2:景区 3:游记
    private Integer rating; // 1-5星
    private Boolean isFavorite;
    private String content;
    private Date createdAt;
}